<p>index works!</p>
<a href="outlet/user-center">xue zi </a>
<h1>Angular Router App</h1>
<!-- This nav gives you links to click, which tells the router which route to use (defined in the routes constant in  AppRoutingModule) -->
<nav>
  <ul>
    <li><a routerLink="/product-detail" routerLinkActive="active" ariaCurrentWhenActive="page">product-detail Component</a></li>
    <li><a routerLink="/product-list" routerLinkActive="active" ariaCurrentWhenActive="page">product-list Component</a></li>
    <li><button (click)="doClick()" routerLink="/product-list" routerLinkActive="active" ariaCurrentWhenActive="page">product-list Component</button></li>
    <li><button (click)="doJump()"> 脚本跳转 product-list Component</button></li>
  </ul>
</nav>
<nav>
  <ul>
    <li><a routerLink="/product-detail"  >product-detail Component</a></li>
    <li><a routerLink="/product-List"  >product-list Component</a></li>
  </ul>
</nav>
<router-outlet></router-outlet>
